const options = {
  autoIndex: false, // Don't build indexes
  reconnectTries: Number.MAX_VALUE, // Never stop trying to reconnect
  reconnectInterval: 500, // Reconnect every 500ms
  poolSize: 10, // Maintain up to 10 socket connections
  // If not connected, return errors immediately rather than waiting for reconnect
  bufferMaxEntries: 0,
  keepAlive: 120,
  user: 'licx',
  pass: 'licx@pro'
}
const db_prefix = 'li_'

const uri = 'mongodb://58.87.90.106/licxpro'
const collectionName = {
		user: db_prefix + 'user',
		menu: db_prefix + 'menu',
		tool: db_prefix + 'tool',
		role: db_prefix + 'role',
		
	}

module.exports = {options:options,uri:uri,colname:collectionName}